package cn.wolfcode.luowowo.search.repository;

import cn.wolfcode.luowowo.search.domain.StrategyEs;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface IStrategyEsRepository extends ElasticsearchRepository<StrategyEs,Long> {


    List<StrategyEs> findByThemeId(Long themeId);

    /**
     * 通过目的地name查询所有游记
     * @param destName
     * @return
     */
    List<StrategyEs> findByDestName(String destName);
}
